/**
 * 
 */
package interfaces;

import datatype.Question;
import datatype.Statistics;

/**
 * @author Yuval
 *
 */
public interface Chain {

	/**
	 * @param time
	 * @return
	 */
	public Question startChain(long time);

	/**
	 * @param answer
	 * @return
	 */
	public boolean chooseAnswer(int answer);

	/**
	 * @return
	 */
	public Question nextQuestion();

	/**
	 * @param time
	 * @param stats
	 */
	public void finish(long time, Statistics stats);

	/**
	 * @return
	 */
	public double getRatio();

}
